import 'package:kkhousekeep/generated/json/base/json_convert_content.dart';
import 'package:kkhousekeep/models/home_bill_years_entity.dart';

HomeBillYearsEntity $HomeBillYearsEntityFromJson(Map<String, dynamic> json) {
	final HomeBillYearsEntity homeBillYearsEntity = HomeBillYearsEntity();
	final int? code = jsonConvert.convert<int>(json['code']);
	if (code != null) {
		homeBillYearsEntity.code = code;
	}
	final List<int>? obj = jsonConvert.convertListNotNull<int>(json['obj']);
	if (obj != null) {
		homeBillYearsEntity.obj = obj;
	}
	final String? msg = jsonConvert.convert<String>(json['msg']);
	if (msg != null) {
		homeBillYearsEntity.msg = msg;
	}
	return homeBillYearsEntity;
}

Map<String, dynamic> $HomeBillYearsEntityToJson(HomeBillYearsEntity entity) {
	final Map<String, dynamic> data = <String, dynamic>{};
	data['code'] = entity.code;
	data['obj'] =  entity.obj;
	data['msg'] = entity.msg;
	return data;
}